﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Site.ascx.cs" Inherits="BlogManager.Application.Controls.Site" %>
<table colspan="0" cellpading="0">
<tr>
	<th>
		<h4 style="width:201px;">Menu</h4>
		<div style="border-left:1px solid gray; border-right:1px solid gray; padding:10px;">
	        > Domains to manage...	<asp:HyperLink runat="server" ID="HyperlinkForAddingADomain" NavigateUrl="~/Application/Domain.aspx" ToolTip="Add a domain."><asp:Image runat="server" ID="ImageForAddingDomains" ImageUrl="~/Img/add.png" /></asp:HyperLink>	
            <ul>
            <asp:Repeater runat="server" ID="RepeaterForDomains">
                <ItemTemplate>
                    <li>
                        <a href="<%=Page.ResolveClientUrl("~/Application/Default.aspx") %>?SiteId=<%# Eval("Id") %>"><%# Eval("Url") %></a> <a href="<%=Page.ResolveClientUrl("~/Application/Domain.aspx") %>?Id=<%# Eval("Id") %>">_</a>
                    </li>   
                </ItemTemplate>
            </asp:Repeater>
            </ul>
        </div>
	</th>
</tr>
<tr>
	<td style="border-bottom:1px solid gray;"></td>
</tr>
</table>


